<?php 

$data = $_POST;

$data = array(
		
		'a' => 12,
		'b' => 34
);

$url = 'http://'.$_SERVER['SERVER_NAME'].'/return_page';

$curl = curl_init();

curl_setopt($curl, CURLOPT_URL, $url);

curl_setopt($curl, CURLOPT_POST, 1);

curl_setopt($curl, CURLOPT_POSTFIELDS, $data);

curl_setopt($curl, CURLOPT_TIMEOUT, 30);

curl_setopt($curl, CURLOPT_HEADER, 0);

curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

$tmpInfo = curl_exec($curl);

curl_close($curl);

?>